package com.lagou.eduauthorityboot.service;

import com.lagou.eduauthorityboot.entity.UserDTO;

public interface UserService {

    //登录方法
    UserDTO login(String phone,String password);

    //检查token
    UserDTO checkToken(String token);

    Integer register(String phone, String password, String nickname, String headimg);

    UserDTO loginPhoneSms(String phoneNumber);
}
